package cn.tedu.store.commons.pojo.portal.entity;

import cn.tedu.store.commons.pojo.product.vo.CategoryListItemVO;
import cn.tedu.store.commons.pojo.product.vo.CategoryStandardVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 前台分类树封装分类实体
 * @author RelentlessFlow
 * @version 1.0.0
 */
@Data
@ApiModel(value="商品分类树实体")
public class PortalCategoryEntity extends CategoryListItemVO implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 如果当前isParent是1，则需要下级分类
     */
    private List<PortalCategoryEntity> children;
}
